<#macro html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>我的主页</title>
    <link href="<@spring.url "/resources/css/bootstrap.min.css"/>" rel="stylesheet">
    <link href="<@spring.url "/resources/css/nifty.min.css"/>" rel="stylesheet">
    <link href="<@spring.url "/resources/css/demo/nifty-demo-icons.min.css"/>" rel="stylesheet">
    <link href="<@spring.url "/resources/premium/icon-sets/icons/line-icons/premium-line-icons.min.css"/>" rel="stylesheet">
    <link href="<@spring.url "/resources/premium/icon-sets/icons/solid-icons/premium-solid-icons.min.css"/>" rel="stylesheet">

    <!--Pace - Page Load Progress Par [OPTIONAL]-->
    <link href="<@spring.url "/resources/plugins/pace/pace.min.css"/>" rel="stylesheet">
    <script src="<@spring.url "/resources/plugins/pace/pace.min.js"/>"></script>
    <link href="<@spring.url "/resources/plugins/font-awesome/css/font-awesome.min.css"/>" rel="stylesheet">
    <script src="<@spring.url "/resources/js/jquery.min.js"/>"></script>
    <script src="<@spring.url "/resources/js/common.js"/>"></script>
    <#nested "head"/>
</head>

<body>
<div id="container" class="effect aside-float aside-bright mainnav-lg">
    <header id="navbar">
        <#include "../top_menu.ftl"/>
    </header>
    <div class="boxed">
        <div id="content-container">
            <div id="page-head"></div>
            <div id="page-content">
                <#nested "body"/>
            </div>
        </div>
        <!--MAIN NAVIGATION-->
        <!--===================================================-->
        <nav id="mainnav-container">
            <div id="mainnav">
                <div id="mainnav-menu-wrap">
                    <div class="nano">
                        <div class="nano-content">
                            <!--左侧菜单-->
                            <#include "left_menu.ftl"/>
                        </div>
                    </div>
                </div>
            </div>
        </nav>
        <!--===================================================-->
        <!--END MAIN NAVIGATION-->
    </div>
    <footer id="footer">
        <div class="show-fixed pad-rgt pull-right">
            You have <a href="#" class="text-main"><span class="badge badge-danger">3</span> pending action.</a>
        </div>
        <p class="pad-lft">&#0169; 2018 江苏安纳泰克能源服务有限公司</p>
    </footer>
    <!-- SCROLL PAGE BUTTON -->
    <!--===================================================-->
    <button class="scroll-top btn">
        <i class="pci-chevron chevron-up"></i>
    </button>
    <!--===================================================-->
</div>
<#nested "modal">
<#include "../modifyPassword.ftl"/>
<script src="<@spring.url "/resources/js/bootstrap.min.js"/>"></script>
<script src="<@spring.url "/resources/js/nifty.min.js"/>"></script>
<#nested "foot_script">
</body>
</html>
</#macro>

<#function urlCheck request pre>
    <#return request.requestUri?substring(request.contextPath?length)?starts_with(pre)>
</#function>